<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:fragment="header">
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link th:href="@{/bootstrap/css/bootstrap.min.css}" rel="stylesheet">
	<link th:href="@{/font-awesome-4.7.0/css/font-awesome.min.css}" rel="stylesheet">
	<link th:href="@{/bootstrap3-dialog/css/bootstrap-dialog.min.css}" rel="stylesheet">
	<link th:href="@{/css/index.css(version=${fileVersion})}" rel="stylesheet">
</head>
<body>
	<div th:fragment="navbar">
		<nav class="navbar navbar-default">
			<div class="container">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" 
						data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
		        		<span class="sr-only">Toggle navigation</span>
		        		<span class="icon-bar"></span>
		        		<span class="icon-bar"></span>
		        		<span class="icon-bar"></span>
		      		</button>
		      		<a class="navbar-brand" th:href="@{/user/index}" th:text="${projectName}"></a>
				</div>
				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav navbar-right">
						<li><a href="#" th:text="${session.webUser.fullname}"></a></li>
						<li><a th:href="@{/user/update_pwd}">修改密码</a></li>
						<li><a href="javascript:;" id="navbar_logout">退出</a></li>
					</ul>
				</div>
			</div>
		</nav>
	</div>
	<div th:fragment="footer">
		<div id="service_baseurl" style="display:none;" th:data-url="${#request.contextPath}+' '"></div>
	</div>
	<div th:fragment="jsfile">
		<script th:src="@{/jquery/{version}/jquery.js(version=${jqueryVersion})}"></script>
		<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
		<script th:src="@{/bootstrap3-dialog/js/bootstrap-dialog.min.js}"></script>
		<script th:src="@{/bootstrap-notify.min.js}"></script>
		<script th:src="@{/js/index.js(version=${fileVersion})}"></script>
	</div>
</body>
</html>